<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h3>SpringMVC上传文件</h3>
    <form action="user/fileupload" method="post" enctype="multipart/form-data">
        <input type="file" name="upload"/><br>
        <input type="submit" value="上传" />
    </form>

    <h3>SpringMVC跨服务器上传文件</h3>
    <form action="user/fileupload2" method="post" enctype="multipart/form-data">
        <input type="file" name="upload"/><br>
        <input type="submit" value="上传" />
    </form>
</body>
</html>
